home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / libs / knowhow4 / work.cpp < prev    next >
C/C++ Source or Header  |  1994-10-21  |  290b  |  24 lines

  1. #include <dos.h>
  2. #include <stddef.h>
  3. void main()
  4.     {
  5.     char* s = new char[165000];
  6.     if(s == NULL)
  7.     {
  8.     sound(1000);
  9.     delay(1000);
  10.     nosound();
  11.     }
  12.     else
  13.     {
  14.     sound(1000);
  15.     delay(1000);
  16.     nosound();
  17.     delay(1000);
  18.     sound(1000);
  19.     delay(1000);
  20.     nosound();
  21.     }
  22.  
  23.     }
  24.